import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Image;

import javax.swing.ImageIcon;
import javax.swing.JPanel;


public class GamePanel extends JPanel{
	public Image i;
	
	public GamePanel(){

		i = new ImageIcon("lClassic.jpg").getImage();
		
		this.setPreferredSize(new Dimension(750,600));
		this.setBackground(Color.black);
		
		this.setLayout(new GridBagLayout());
		GridBagConstraints c = new GridBagConstraints();

		
	}
	public void paintComponent(Graphics g) {
		g.drawImage(i, 0, 0, this.getWidth(), this.getHeight(), null);
	}
}
